package o;

import androidx.media.AudioAttributesCompat;
import java.util.Arrays;

public class lm implements lj {
    public int ˊ = 0;
    public int ˋ = -1;
    public int ˎ = 0;
    public int ॱ = 0;

    public int ˏ() {
        if (this.ˋ != -1) {
            return this.ˋ;
        }
        return AudioAttributesCompat.ˏ(false, this.ˊ, this.ˎ);
    }

    public int ˊ() {
        return this.ॱ;
    }

    public int ˋ() {
        return this.ˎ;
    }

    public int ˎ() {
        int i = this.ˊ;
        int ˏ = ˏ();
        if (ˏ == 6) {
            i |= 4;
        } else if (ˏ == 7) {
            i |= 1;
        }
        return i & 273;
    }

    public int hashCode() {
        return Arrays.hashCode(new Object[]{Integer.valueOf(this.ॱ), Integer.valueOf(this.ˊ), Integer.valueOf(this.ˎ), Integer.valueOf(this.ˋ)});
    }

    public boolean equals(Object obj) {
        if (!(obj instanceof lm)) {
            return false;
        }
        lm lmVar = (lm) obj;
        if (this.ॱ == lmVar.ˊ() && this.ˊ == lmVar.ˎ() && this.ˎ == lmVar.ˋ() && this.ˋ == lmVar.ˋ) {
            return true;
        }
        return false;
    }

    public String toString() {
        StringBuilder stringBuilder = new StringBuilder("AudioAttributesCompat:");
        if (this.ˋ != -1) {
            stringBuilder.append(" stream=").append(this.ˋ);
            stringBuilder.append(" derived");
        }
        stringBuilder.append(" usage=").append(AudioAttributesCompat.ˎ(this.ˎ)).append(" content=").append(this.ॱ).append(" flags=0x").append(Integer.toHexString(this.ˊ).toUpperCase());
        return stringBuilder.toString();
    }
}
